Ignore errors (but not wrong results) of solve_power
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Fri, 3 Jul 2026 21:13:01 +0000 (22:13 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Fri, 3 Jul 2026 21:13:01 +0000 (22:13 +0100)
commit16f6e2dd1fe372411d8f3a7808a3f6602a79d6f8
tree15dea305f2d70bc0ce0da98a194847bd0c960b25
parent4e5508a00d2ec20824c60850fb681b5bcbda7171
Ignore errors (but not wrong results) of solve_power

scipy.special.nctdtr returns NaN when rounding would otherwise make
the result out of bounds: https://github.com/scipy/scipy/issues/25470

This has only been seen to fail the statsmodels test on armhf,
but the underlying issue also exists on amd64

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name test_power_ignore_exception.patch
statsmodels/stats/tests/test_power.py